<?php

namespace SpecialOperations\GameBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * SpecialOperations\GameBundle\Entity\MetalStorage
 */
class MetalStorage extends Building
{
    public function getCapacity(){
        return 1000+$this->getLevel()*2*$this->getCondition();
    }
    
    public function __ToString(){
        return 'Magazyn metalu';
    }
}